// pages/protocol/protocol.js
var httpUtil = require('../../utils/httpUtil.js');
const app = getApp();
var that;

Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    that = this;
    // that.getProtocol(options.mchId);
  },

  /**
   * 获取充值协议
   */
  getProtocol(mchId){
    httpUtil.PostRequest("charge_agreement", {
      mchId: mchId
    }, {
      success(res) {
      },
      fail(code, res) {
      },
      complete() { }
    })
  }
  
})